package com.ruoyi.garbage.domain;


import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 幻灯片播放对象 slide_show
 *
 * @author 刘哲贤
 * @date 2023-01-07
 */
public class SlideShow extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 禁用
     */
    public static final Integer DISABLED = 0;

    /**
     * 启用
     */
    public static final Integer ENABLED = 1;

    /**
     * id
     */
    private Long slide;

    /**
     * 是否启用
     */
    @ExcelProperty(value = "是否启用")
    private Integer disabled;

    /**
     * 排序id
     */
    @ExcelProperty(value = "排序id")
    private Long sortId;

    /**
     * 图片地址
     */
    @ExcelProperty(value = "图片地址")
    private String imageUrl;

    /**
     * 跳转的链接地址
     */
    @ExcelProperty(value = "跳转的链接地址")
    private String skipUrl;

    public Long getSlide() {
        return slide;
    }

    public void setSlide(Long slide) {
        this.slide = slide;
    }

    public Integer getDisabled() {
        return disabled;
    }

    public void setDisabled(Integer disabled) {
        this.disabled = disabled;
    }

    public Long getSortId() {
        return sortId;
    }

    public void setSortId(Long sortId) {
        this.sortId = sortId;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getSkipUrl() {
        return skipUrl;
    }

    public void setSkipUrl(String skipUrl) {
        this.skipUrl = skipUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("slide", getSlide())
                .append("userId", getDisabled())
                .append("sortId", getSortId())
                .append("imageUrl", getImageUrl())
                .append("skipUrl", getSkipUrl())
                .toString();
    }
}
